import request from '@/utils/request'

// 查询鞋标签扫码记录列表
export function listTaglog(query) {
  return request({
    url: '/system/taglog/list',
    method: 'get',
    params: query
  })
}

// 查询鞋标签扫码记录详细
export function getTaglog(id) {
  return request({
    url: '/system/taglog/' + id,
    method: 'get'
  })
}

// 新增鞋标签扫码记录
export function addTaglog(data) {
  return request({
    url: '/system/taglog',
    method: 'post',
    data: data
  })
}

// 修改鞋标签扫码记录
export function updateTaglog(data) {
  return request({
    url: '/system/taglog',
    method: 'put',
    data: data
  })
}

// 删除鞋标签扫码记录
export function delTaglog(id) {
  return request({
    url: '/system/taglog/' + id,
    method: 'delete'
  })
}

// 导出鞋标签扫码记录
export function exportTaglog(query) {
  return request({
    url: '/system/taglog/export',
    method: 'get',
    params: query
  })
}